import odoo
import odoo.exceptions

def login(db, login, password):
    pass

def check(db, uid, passwd):
    pass

def compute_session_token(session, env):
    pass

def check_session(session, env):
    pass
